#ifndef DIAN_JI_H
#define DIAN_JI_H

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <inttypes.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "driver/gpio.h"


#define dian_ji_IO    42  //控制电机的IO口
#define GPIO_OUTPUT_PIN_SEL  (1ULL<<dian_ji_IO) 

#define OPEN_DJ  gpio_set_level(dian_ji_IO, 0)
#define CLOSE_DJ  gpio_set_level(dian_ji_IO, 1)

void dian_ji_Init(void);//控制电机的IO口初始化

#endif